package com.nineclock.system.service;

import com.nineclock.system.dto.SysAllowedJoinCompanyUserDTO;
import com.nineclock.system.dto.SysApplyJoinCompanyUserDTO;
import com.nineclock.system.dto.SysCompanyDTO;
import com.nineclock.system.dto.SysCompanyUserDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface SysCompanyService {

    List<SysCompanyDTO> queryUserJoinCompany(Long userId);

    SysCompanyDTO findCompany();

    String uploadOSS(MultipartFile file) throws Exception;

    void updateCompany(SysCompanyDTO sysCompanyDTO);

    void changeAdmin(Map<String,Object> map);

    SysCompanyUserDTO getCurrentAdmin();

    List<SysCompanyDTO> listCompany(String keyword);

    void applyJoinCompany(SysApplyJoinCompanyUserDTO sysApplyJoinCompanyUserDTO);

    void allowedJoinCompany(SysAllowedJoinCompanyUserDTO allowedJoinCompanyUserDTO);
}
